Ext.define('Seq.form.FieldContainer', {
    extend: 'Ext.form.FieldContainer',
    xtype: 'xfieldcontainer',

    labelAlign: 'right',

    layout: {
        type: 'hbox',
        pack: 'start'
    },

    defaults: {
        xtype: 'xtextfield',
        labelWidth: 100,
        flex: 1
    },

    initComponent: function () {
        var allowBlank = this.allowBlank;
        if (!(Ext.isEmpty(allowBlank) || allowBlank)) {
            if (this.fieldLabel) {
                this.fieldLabel += '<font color=red>*</font>';
            }
        }
        this.callParent(arguments);
    }
});